﻿using System.Collections.Generic;

namespace InstaSharp.Models {
    /// <summary>
    /// Comments
    /// </summary>
    public class Comments {
        /// <summary>
        /// Gets the count of comments.
        /// </summary>
        /// <value>
        /// The count.
        /// </value>
        [JsonMapping("count", JsonMapping.MappingType.Primitive)]
        public int Count { get; set; }

        /// <summary>
        /// Gets a list of comments.
        /// </summary>
        /// <value>
        /// The data.
        /// </value>
        [JsonMapping("edges", JsonMapping.MappingType.Collection)]
        public List<Comment2> Nodes { get; set; }
    }
}
